package com.ruoyi.business.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Arrays;

/**
 * 流程定义节点信息对象 t_definition_node
 * 
 * @author wolfcode
 * @date 2021-07-20
 */
public class DefinitionNode extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 流程定义ID */
    private Long definitionInfoId;

    /** 节点key */
    @Excel(name = "节点key")
    private String nodeKey;

    /** 节点描述 */
    @Excel(name = "节点描述")
    private String nodeDescription;

    /** 审核人集合 */
    private Long[] auditorIds;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getDefinitionInfoId() {
        return definitionInfoId;
    }

    public void setDefinitionInfoId(Long definitionInfoId) {
        this.definitionInfoId = definitionInfoId;
    }

    public String getNodeKey() {
        return nodeKey;
    }

    public void setNodeKey(String nodeKey) {
        this.nodeKey = nodeKey;
    }

    public String getNodeDescription() {
        return nodeDescription;
    }

    public void setNodeDescription(String nodeDescription) {
        this.nodeDescription = nodeDescription;
    }

    public Long[] getAuditorIds() {
        return auditorIds;
    }

    public void setAuditorIds(Long[] auditorIds) {
        this.auditorIds = auditorIds;
    }

    @Override
    public String toString() {
        return "DefinitionNode{" +
                "id=" + id +
                ", definitionInfoId=" + definitionInfoId +
                ", nodeKey='" + nodeKey + '\'' +
                ", nodeDescription='" + nodeDescription + '\'' +
                ", auditorIds=" + Arrays.toString(auditorIds) +
                '}';
    }
}
